<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>人和人律师事务所管理系统v1.0-银行帐管理</title>

<style type="text/css" media="all">
.allow-float {
	clear: none !important;
}  /* 允许该元素浮动 */
.stop-float {
	clear: both !important;
}  /* 阻止该元素浮动 */
.float-left {
	float: left;
	padding-left: 10px
} /*浮动到左边*/
</style>

<script type="text/javascript">
Ext.onReady(function(){
		//添加银行帐信息窗口
		var addBankWindow;
		//添加银行帐信息form
		var addBankForm;
		//查看报表窗口
		var reportFormWindow;
		//查看报表信息面板
		var reportFormPanel;

		//选择要查的具体时间下拉框
		var formDetaisCombo;

		var formCatalog=[{catalogId:1,catalogName:'年报表'},{catalogId:2,catalogName:'季报表'},{catalogId:3,catalogName:'月报表'}];
var formDetails=new Array();
//年报表
formDetails[1]=[{detailValue:'2003',detailName:'2003'},{detailValue:'2004',detailName:'2004'},{detailValue:'2005',detailName:'2005'},
{detailValue:'2006',detailName:'2006'},{detailValue:'2007',detailName:'2007'},{detailValue:'2008',detailName:'2008'},{detailValue:'2009',detailName:'2009'},{detailValue:'2010',detailName:'2010'},{detailValue:'2011',detailName:'2011'},
{detailValue:'2012',detailName:'2012'},{detailValue:'2013',detailName:'2013'},{detailValue:'2014',detailName:'2014'},{detailValue:'2015',detailName:'2015'},
{detailValue:'2016',detailName:'2016'},{detailValue:'2017',detailName:'2017'},{detailValue:'2018',detailName:'2018'},{detailValue:'2019',detailName:'2019'},{detailValue:'2020',detailName:'2020'}];
//季报表
formDetails[2]=[{detailValue:'01',detailName:'第一季度'},{detailValue:'02',detailName:'第二季度'},
{detailValue:'03',detailName:'第三季度'},{detailValue:'04',detailName:'第四季度'}];
//月报表
formDetails[3]=[{detailValue:'01',detailName:'一月份'},{detailValue:'02',detailName:'二月份'},{detailValue:'03',detailName:'三月份'},
{detailValue:'04',detailName:'四月份'},{detailValue:'05',detailName:'五月份'},{detailValue:'06',detailName:'六月份'},
{detailValue:'07',detailName:'七月份'},{detailValue:'08',detailName:'八月份'},{detailValue:'09',detailName:'九月份'},
{detailValue:'10',detailName:'十月份'},{detailValue:'11',detailName:'十一月份'},{detailValue:'12',detailName:'十二月份'}];

var catalogStore=new Ext.data.JsonStore({
data:formCatalog,
fields:["catalogId","catalogName"]
});

var detailStore=new Ext.data.JsonStore({
			data:[],
			fields:["detailValue","detailName"]
			});

		var datas=[{id:'01',
		name:'一月份'},
		{id:'02',
		name:'二月份'},
		{id:'03',
		name:'三月份'},
		{id:'04',
		name:'四月份'},
		{id:'05',
		name:'五月份'},
		{id:'06',
		name:'六月份'},
		{id:'07',
		name:'七月份'},
		{id:'08',
		name:'八月份'},
		{id:'09',
		name:'九月份'},
		{id:'10',
		name:'十月份'},
		{id:'11',
		name:'十一月份'},
		{id:'12',
		name:'十二月份'}
		];

var monthstore=new Ext.data.JsonStore({ data:datas,fields:["id","name"]});
//查询框
    var seabankWinPanel = new Ext.form.FormPanel({
			title:'银行帐查询',
			labelAlign:'right',
			labelSeparator :'：',//分隔符
			labelWidth : 100,//标签宽度
			bodyStyle:'padding:5',//表单边距
			frame : true,
			collapsible: true,
			height:100,
			width:window.screen.width-220,
			applyTo :'searchBankWin',

			items:[
				new Ext.form.TextField({
					fieldLabel : '请输入年份',
					id : 'bankYear',
					name : 'bankYear',
					width:(window.screen.width-320)*0.18,
					itemCls:'float-left',//向左浮动
					clearCls:'allow-float',//允许浮动
					selectOnFocus : true,//得到焦点时自动选择文本
					allowBlank : true
				}),

				new Ext.form.ComboBox({
			fieldLabel:'请选择月份',
			itemCls:'float-left',//向左浮动
			clearCls:'allow-float',//允许浮动
			store:monthstore,
			valueField:'id',
			displayField:'name',
			mode:'local',
			forceSelection:true,
			emptyText:'请选择月份',
			hiddenName:'month',
			editable:false,
			triggerAction:'all',
			id:'bankMonth',
			name:'bankMonth'
			}),


				new Ext.Button({
					text : '开始查询',
					iconCls:'search',
					cls:'float-left',//向左浮动
					handler : submitMsg
				})
			]

		})



		//查询处理函数
	function submitMsg(){
		//获得要查询的年份与月份
		var bankYear=Ext.getCmp("bankYear").getValue();
		//判断是否输入了年份
		if(bankYear==null||bankYear=="")
		{
		Ext.Msg.alert('信息', '请输入年份再提交!');
		return;
		}
		var bankMonth=Ext.getCmp("bankMonth").getValue();

		 store = new Ext.data.JsonStore({
	url:"SearchBankInfo.jsj?bankYear="+bankYear+"&bankMonth="+bankMonth,
	totalProperty: 'totalCount',
    root: 'result',
	fields:["bankaccid","bankacctime","bankaccbrief","incomemoney","payoutmoney"]
});
		store.reload({
			params:{
				start:0,
				limit:5
				}
			});
		var colModel = new Ext.grid.ColumnModel([//配置表格列
				new Ext.grid.RowNumberer({
					header : '行号',
					width : 40
				}),
				cb,
				{header: "计入时间",width: 200,  dataIndex: 'bankacctime', sortable: true},
				{header: "收入金额", width: 200,dataIndex: 'incomemoney', sortable: true},
				{header: "支出金额",width: 200, dataIndex: 'payoutmoney', sortable: true},
				{header: "摘要",width: 300, dataIndex: 'bankaccbrief', sortable: true},
				]);
				pagebar.bind(store);
				grid.reconfigure(store,colModel);
		grid.getView().refresh(true);
	}

    //存储器
		var store = new Ext.data.JsonStore({
	url:"BankInfoRequest.jsj",
	totalProperty: 'totalCount',
	root: 'result',
	fields:["bankaccid","bankacctime","bankaccbrief","incomemoney","payoutmoney"]
	});
		store.load({
			params:{
				start:0,
				limit:5
				}
			});

	//获得用户权限
		var buttonDisabled=true;
	<%
	if((java.lang.Integer)session.getAttribute("popedomLevel")==1){
		%>
		buttonDisabled=false;
	<%
	}
	%>



	//创建工具栏组件
		var toolbar = new Ext.Toolbar([
			{text : '银行帐详细信息'},
			'-',
			{
			text:'报表查看',
			iconCls:'search',
			handler:function(btn,pressed){
			lookRecordForm();
			}
			},
			'-',
			{
			text:'查看资金总余额',
			iconCls:'search',
			handler:function(btn,pressed){
					bankLeftMoneyFun();
			}
			},
			'-',
			{
			text:'时间段资金查看',
			iconCls:'search',
			handler:function(btn,pressed){
			bsomeTimeMoneyFun();
			}
			},
			'-',
			{
			text:'图形化报表',
			iconCls:'search',
			handler:function(btn,pressed){
			figureChartFun();
			}
			},
			'-',
			{
			text:'增加银行帐信息',
			iconCls:'add',
			disabled:buttonDisabled,
			handler:function(btn,pressed){
			addBankInfo();
			}
			},
			'-',
			{
			text:'修改',
			iconCls:'option',
			disabled:buttonDisabled,
			handler:function(btn,pressed){
			modifyBankFun();
			}
			}
		]);




	 //图形化报表种类
   	 var figureChartCatalog=[{catalogId:1,catalogName:'月收入报表'},{catalogId:2,catalogName:'月支出报表'},{catalogId:3,catalogName:'月汇总报表'},{catalogId:4,catalogName:'季度报表'},{catalogId:5,catalogName:'年度报表'}];
   	 //图形化报表存储器
   	 var figureChartStore=new Ext.data.JsonStore({
				data:figureChartCatalog,
				fields:["catalogId","catalogName"]
		  	});

   	 //查看图形报表面板
     var figureChartPanel;
     //查看图形报表窗口
     var figureChartWin;

     //存储器
	 var ChartStore = new Ext.data.ArrayStore({
				url:"FigureChartRequest.jsj?figureChartCatalog=1",
				fields:["month","value"]
			});

      //查看图形报表 函数
      function figureChartFun(){
      			//查看图形报表窗口
       			figureChartWin=new Ext.Window({
       					layout:'fit',
       					width:750,
       					height:550,
       					//closeAction:'hide',
						plain:true,
						title:'图形化报表窗口',
						items:figureChartPanel
       				});
				//加载数据
       			ChartStore.load();
       			//显示窗口
       			figureChartWin.show();
       		}

       		//报表
       		var columnCharts=new Ext.chart.ColumnChart({
       							 store: ChartStore,
						         yField: 'value',
						         xField: 'month',
						         xAxis: new Ext.chart.CategoryAxis({
						         				title: 'Month'
				            			}),
           						 yAxis: new Ext.chart.NumericAxis({
               									 title: '金额'
         							    }),
         					     extraStyle: {
              								 xAxis: {
                    								labelRotation: 0
               									 }
            							 }
       						})

       //查看图形报表面板
       figureChartPanel=new Ext.form.FormPanel({
       			collapsible:true,
       			labelwidth:100,
       			frame:true,
       			bodyStyle : 'padding:5px 5px 0',
       			waitMsgTarget : true,

        		items : [
        				new Ext.form.ComboBox({
								fieldLabel:'请选择报表种类',
								itemCls:'float-left',//向左浮动
								clearCls:'allow-float',//允许浮动
								store:figureChartStore,
								valueField:'catalogId',
								displayField:'catalogName',
								mode:'local',
								forceSelection:true,
								emptyText:'请选择报表种类',
								hiddenName:'figureChart',
								editable:false,
								triggerAction:'all',
								id:'figureChartCata',
								name:'figureChartCata',
								value:'月纯收入报表',
								listeners:{
										change: function(field,newValue,oldValue){
											ChartStore = new Ext.data.ArrayStore({
													url:"FigureChartRequest.jsj?figureChartCatalog="+newValue,
													fields:["month","value"]
												});
												//重新加载数据
       											ChartStore.reload();
												//重新绑定数据
												columnCharts.bindStore(ChartStore);
										}
								}
							}),
							columnCharts
      					  ]
       			})










     //修改银行帐面板
     var modifyBankPanel;
     //修改银行帐窗口
      var modifyBankWin;
      //修改银行帐记录
       function modifyBankFun(){
		//获取要修改的一条记录
       	var record=grid.getSelectionModel().getSelected();
       	//如果用户没有选择
       	if(!record){
       		Ext.MessageBox.alert('修改操作','请选择要修改的一项！');
       	}else{
       		//修改银行帐窗口
       		modifyBankWin=new Ext.Window({
       			labelAlign:'right',
       			layout:'fit',
       			width:400,
       			height:300,
       			closeAction:'hide',
				plain:true,
				title:'修改银行帐窗口',
				items:modifyBankPanel
       		});
       		modifyBankWin.show();
       		 Ext.getCmp("mbankId").setValue(record.get("bankaccid"));
       		  Ext.getCmp("mbankTime").setValue(record.get("bankacctime"));
       		   Ext.getCmp("mbankIncome").setValue(record.get("incomemoney"));
       		    Ext.getCmp("mbankPayout").setValue(record.get("payoutmoney"));
       		     Ext.getCmp("mbankBrief").setValue(record.get("bankaccbrief"));


       	}
       }

       //修改银行帐面板
       modifyBankPanel=new Ext.form.FormPanel({
       	collapsible:true,
       	labelwidth:100,
       	 buttonAlign:'center',
       	frame:true,
       	bodyStyle : 'padding:5px 5px 0',
        waitMsgTarget : true,
        defaultType : 'textfield',
        items : [
         {
         	xtype:'hidden',
            name :'mbankId',
             id :'mbankId'
        },
        {
            fieldLabel : '计入时间',
            itemCls:'float-left',//向左浮动
			clearCls:'allow-float',//允许浮动
            name :'mbankTime',
             id :'mbankTime',
            allowBlank :false
        },
        {
            fieldLabel : '收入金额',
            itemCls:'float-left',//向左浮动
			clearCls:'allow-float',//允许浮动
            name :'mbankIncome',
             id :'mbankIncome',
            allowBlank :false
        },
        {
                   fieldLabel :'支出金额',
					id :'mbankPayout',
					name :'mbankPayout',
					itemCls:'float-left',//向左浮动
					clearCls:'allow-float',//允许浮动
					allowBlank :false
        },
          {
                   fieldLabel :'摘要',
					id :'mbankBrief',
					name :'mbankBrief',
					itemCls:'float-left',//向左浮动
					clearCls:'allow-float',//允许浮动
					allowBlank :false
        }
        ],

               buttons : [ {
            text : '修改',
            disabled : false,
            handler : function() {
                if (modifyBankPanel.form.isValid()) {
                    modifyBankPanel.form.submit( {
                        url : 'ModifyBankInfo.jsj',
                        success : function(from, action) {
                         Ext.MessageBox.alert('更新结果', action.result.message);
                            store.load( {
                                params : {
                                    start : 0,
                                    limit : 5
                                }
                            });
                            modifyBankWin.hide();
                        },
                        failure : function(form, action) {
                           Ext.MessageBox.alert('更新结果', action.result.message);
                            store.load( {
                                params : {
                                    start : 0,
                                    limit : 5
                                }
                            });
                            modifyBankWin.hide();
                        },
                        waitMsg : '正在保存数据，稍后...'
                    });
                } else {
                    Ext.Msg.alert('信息', '请填写完成再提交!');
                }
            }
        }, {
            text : '取消',
            handler : function() {
                modifyBankWin.hide();
            }
        }]
       })

			//查看时间段资金窗口
			var bsomeTimeMoneyWindow;
			//查看时间段资金面板
			var bsomeTimeMoneyPanel;
		//查看时间段资金处理函数
		function bsomeTimeMoneyFun(){
			bsomeTimeMoneyWindow= new Ext.Window({
			title:'资金查看窗口',
			width:400,
			height:300,
			layout:'fit',
			closeAction:'hide',
			resizable:false,
			items:bsomeTimeMoneyPanel
			})
		bsomeTimeMoneyWindow.show();
		}

		//时间段资金查看面板
		bsomeTimeMoneyPanel=new Ext.FormPanel({
			labelAlign:'right',
				 buttonAlign:'center',
	 		frame:true,
	 		labelWidth:100,
	 		defaults:{
	 		width:200
	 		},
	 		items:[
	 		{
			xtype:'datefield',
			format:'Y-m-d',
			fieldLabel:'开始时间',
			id:'bankStartTime',
			name:'bankStartTime',
			allowBlank:false
		},
		{
			xtype:'datefield',
			format:'Y-m-d',
			fieldLabel:'结束时间',
			id:'bankEndTime',
			name:'bankEndTime',
			allowBlank:false
		},

				{
				height:50,
				},

				{
			xtype:'textfield',
			fieldLabel:'收入金额',
			id:'tbankIncome',
			name:'tbankIncome',
			allowBlank:true
		},
		{
			xtype:'textfield',
			fieldLabel:'支出金额',
			id:'tbankPayout',
			name:'tbankPayout',
			allowBlank:true
		},
		{
			xtype:'textfield',
			fieldLabel:'资金余额',
			id:'tbankFinanceLeave',
			name:'tbankFinanceLeave',
			allowBlank:true
		}],
		 buttons : [ {
            text : '确认',
            disabled : false,
            handler : function() {
                if (bsomeTimeMoneyPanel.form.isValid()) {
                    bsomeTimeMoneyPanel.form.submit( {
                        url : 'TimebankFinanceLook.jsj',
                        success : function(from, action) {
                         var result=action.result.message;
							var resultArr=result.split(",");
							Ext.getCmp("tbankIncome").setValue(resultArr[0]);
							Ext.getCmp("tbankPayout").setValue(resultArr[1]);
							Ext.getCmp("tbankFinanceLeave").setValue(resultArr[2]);
                        },
                        failure : function(form, action) {
                           var result=action.result.message;
							var resultArr=result.split(",");
							Ext.getCmp("tbankIncome").setValue(resultArr[0]);
							Ext.getCmp("tbankPayout").setValue(resultArr[1]);
							Ext.getCmp("tbankFinanceLeave").setValue(resultArr[2]);
                        },
                        waitMsg : '正在发送请求，稍后...'
                    });
                } else {
                    Ext.Msg.alert('信息', '请填写完成再提交!');
                }
            }
        },{
        text:'取消',
        handler: function(){
        bsomeTimeMoneyWindow.hide();
        }
        }
        ]
		})

			//查看银行总资金form
			var bankLeftMoneyForm;
			//查看银行总资金窗口
			var bankLeftMoneyWindow;
			//查看银行帐总资金
			function bankLeftMoneyFun(){
       bankLeftMoneyWindow=new Ext.Window({
			title:'银行帐总资金查看窗口',
			width:280,
			height:120,
			layout:'fit',
			closeAction:'hide',
			resizable:false,
			items:bankLeftMoneyForm
		});
		bankLeftMoneyWindow.show();
		//发送请求加载数据
		bankLeftMoneyForm.getForm().load({
        url:'LookbankLeftMoney.jsj',
       waitMsg : '正在载入数据...'
        });
	}
	//查看银行帐总资金面板
	 bankLeftMoneyForm=new Ext.FormPanel({
	 		labelAlign:'right',
	 			 buttonAlign:'center',
	 		frame:true,
	 		labelWidth:100,
	 		defaults:{
	 		width:120,
	 		},
	 		reader: new Ext.data.JsonReader({root:'result'},
                                       [
                                       {name: 'bankleftmoney',mapping:'bankleftmoney',type:'int'}
                                      ]),
		items:[
		{
			xtype:'textfield',
			fieldLabel:'银行帐总资金',
			name:'bankleftmoney',
			allowBlank:false
		}
		],
		buttons:[{
		text:'确认',
		handler:function(){
			bankLeftMoneyWindow.hide();
		}
		}]
	});



		//查看报表处理函数
		function lookRecordForm(){
			reportFormWindow= new Ext.Window({
			title:'查看报表信息窗口',
			width:400,
			height:300,
			layout:'fit',
			closeAction:'hide',
			resizable:false,
			items:reportFormPanel
			})
		reportFormWindow.show();
		}

		//查看报表面板
		reportFormPanel=new Ext.FormPanel({
			labelAlign:'right',
				 buttonAlign:'center',
	 		frame:true,
	 		labelWidth:100,
	 		defaults:{
	 		width:200
	 		},
	 		items:[
	 		new Ext.form.ComboBox({
			fieldLabel:'请选择报表种类',
			store: catalogStore,
			valueField:'catalogId',
			displayField:'catalogName',
			mode:'local',
			hiddenName:'catalog',
			forceSelection:true,
			emptyText:'请选择报表种类',
			editable:false,
			triggerAction:'all',
			id:'catalogId',
			name:'catalogId',
			listeners:{
			select:function(combo,record,index){
			Ext.getCmp("detailTime").clearValue();
			Ext.getCmp("detailTime").store.loadData(formDetails[record.data.catalogId]);
			}
			}
			}),

			new Ext.form.ComboBox({
					fieldLabel:'请选择具体时间',
					store:detailStore,
					valueField:'detailValue',
					displayField:'detailName',
					mode:'local',
					hiddenName:'time',
					forceSelection:true,
					emptyText:'请选择具体时间',
					editable:false,
					triggerAction:'all',
					id:'detailTime',
					name:'detailTime'
				}),

				{
				height:50,
				},

				{
			xtype:'textfield',
			fieldLabel:'收入金额',
			id:'bankIncome',
			name:'bankIncome',
			allowBlank:true
		},
		{
			xtype:'textfield',
			fieldLabel:'支出金额',
			id:'bankPayout',
			name:'bankPayout',
			allowBlank:true
		},
		{
			xtype:'textfield',
			fieldLabel:'资金余额',
			id:'financeLeave',
			name:'financeLeave',
			allowBlank:true
		}],
		 buttons : [ {
            text : '确认',
            disabled : false,
            handler : function() {
                if (reportFormPanel.form.isValid()) {
                    reportFormPanel.form.submit( {
                        url : 'FinanceReportForm.jsj',
                        success : function(from, action) {
                         var result=action.result.message;
							var resultArr=result.split(",");
							Ext.getCmp("bankIncome").setValue(resultArr[0]);
							Ext.getCmp("bankPayout").setValue(resultArr[1]);
							Ext.getCmp("financeLeave").setValue(resultArr[2]);
                        },
                        failure : function(form, action) {
                           var result=action.result.message;
							var resultArr=result.split(",");
							Ext.getCmp("bankIncome").setValue(resultArr[0]);
							Ext.getCmp("bankPayout").setValue(resultArr[1]);
							Ext.getCmp("financeLeave").setValue(resultArr[2]);
                        },
                        waitMsg : '正在发送请求，稍后...'
                    });
                } else {
                    Ext.Msg.alert('信息', '请填写完成再提交!');
                }
            }
        },{
        text:'取消',
        handler: function(){
        reportFormWindow.hide();
        }
        }
        ]
		})

//增加一条银行帐信息处理函数
function addBankInfo(){
		 addBankWindow=new Ext.Window({
			title:'增加一条银行帐记录',
			width:550,
			height:260,
			layout:'fit',
			closeAction:'hide',
			resizable:false,
			items:addBankForm
		});
		addBankWindow.show();
	}
	//增加银行帐面板
	 addBankForm=new Ext.FormPanel({
	 	 buttonAlign:'center',
	 		labelAlign:'right',
	 		frame:true,
	 		labelWidth:180,
	 		defaults:{
	 		width:180,
	 		},
		items:[
		{
			xtype:'datefield',
			fieldLabel:'时间',
			format:'Y-m-d',
			name:'bankAccTime',
			allowBlank:false
		},
		{
			xtype:'textfield',
			fieldLabel:'收入金额(非收入记录，填0)',
			name:'bankIncome',
			allowBlank:false
		},
		{
			xtype:'textfield',
			fieldLabel:'支出金额(非支出记录，填0)',
			name:'bankPayout',
			allowBlank:false
		},
		{
			xtype:'textarea',
			fieldLabel:'账目摘要',
			height:100,
			name:'bankBrief',
			allowBlank:false
		}
		],
		buttons:[{
		text:'确认',
		handler:function(){
			if(addBankForm.form.isValid()){
				addBankForm.form.submit({
				url:'AddBankAccount.jsj',
				success:function(form,action){
					Ext.MessageBox.alert('结果',action.result.message);
					//刷新数据
					store.load({
					params:{
					start:0,
					limit:5
					}
					});
					addBankWindow.hide();
				},
				failure: function(form,action){
					Ext.MessageBox.alert('结果',action.result.message);
					//刷新数据
					store.load({
					params:{
					start:0,
					limit:5
					}
					});
					addBankWindow.hide();
				},
				waitMsg:'正在保存数据，稍后...'
				});
			} else {
				Ext.Msg.alert('信息', '请填写完成再提交!');
			}
		}
		},{
		 text:'取消',
		 handler:function(){
		 	addBankWindow.hide();
		 }
		}]
	});

		//分页工具栏
		var pagebar = new Ext.PagingToolbar({
			store : store,
			pageSize : 5,
			displayInfo : true,
			displayMsg : '第 {0} ~ {1} 条 共 {2} 条',
			emptyMsg : '当前没有记录'
		});
		//创建选择模式对象
	var cb = new Ext.grid.CheckboxSelectionModel()
	//创建Grid表格组件
	var grid = new Ext.grid.GridPanel({
			renderTo : 'bank-detail-info',
			frame : true,
			tbar : toolbar,
			bbar : pagebar,
			trackMouseOver:true, //鼠标特效
			loadMask: true,    //是否显示正在加载
			store : store,
			height : 320,
			width : window.screen.width-220,
			stripeRows : true,
			autoScroll : true,
			viewConfig : {autoFill : true},
			sm : cb,
			columns: [//配置表格列
				new Ext.grid.RowNumberer({
					header : '行号',
					width : 40
				}),
				cb,
				{header: "计入时间", width: 100, dataIndex: 'bankacctime', sortable: true},
				{header: "收入金额", width: 75, dataIndex: 'incomemoney', sortable: true},
				{header: "支出金额", width: 75, dataIndex: 'payoutmoney', sortable: true},
				{header: "摘要", width: 75, dataIndex: 'bankaccbrief', sortable: true},
				]
		});
});
</script>
</head>
<body>
<table>
	<tr>
		<td>
		<div id='searchBankWin' style="margin: 8px 8px 4px 8px"></div>
		</td>
	</tr>
</table>
<div id='bank-detail-info' style="margin: 4px 8px 8px 8px"></div>

</body>
</html>